package com.kmust.dream.wanderingdream.product.service;

import com.kmust.dream.wanderingdream.comm.pojo.ResultBean;
import com.kmust.dream.wanderingdream.product.entity.ProductCategory;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface ProductCategoryService extends IService<ProductCategory> {

    ResultBean getAllCategory();

    ResultBean getCategoryOne(Integer categoryId);

    ResultBean getSonCategory(Integer parentCategory);

    ResultBean getFirstCategory();

    ResultBean addCategory(ProductCategory productCategory);

    ResultBean updateCategory(ProductCategory productCategory);

    ResultBean deleteCategory(Integer categoryId);

    ResultBean getAllCategoryFont();

}
